package org.hank.compose_yyzs.bean.response

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey
import com.yyzs.measuremerchant.bean.measure.MeasureFileBean
import org.hank.compose_yyzs.bean.StationFullInfomation
import java.math.BigDecimal

/**
 *@auth: Hank
 *邮箱: cs16xiaoc1@163.com
 *创建时间: 2023/3/25 16:56
 *描述:
 */
data class RoomStationTaskVo(
    var calculationStatus: Int?,//计算状态 0、未开始 1、计算中 2、计算完成 3、计算失败
    var compactScanImgUrl: MeasureFileBean?,
    var fileStatus: Int?,//文件同步状态 0、等待文件上传 1、文件上传中 2、文件上传成功 3、文件上传失败
    var height: BigDecimal?,
    var length: BigDecimal?,
    var rawScanImgUrl: MeasureFileBean?,
    var roomTaskNo: String?,
    var scannerHeight: BigDecimal?,
    var stationId: Int?,
    var stationNo: Int?,
    var stationType: Int?,
    var stationTaskNo: String?,
    var status: Int?,//状态 0、未开始 1、进行中 2、已完成
    var operationTime: String?,
    var width: BigDecimal?,
    var score: BigDecimal?,
    var vectorCoordinateX:BigDecimal?,
    var vectorCoordinateY:BigDecimal?,
    var x: Int?,
    var y: Int?,

    var createdDate: String?,
    var createdBy: String?,
    var lastUpdatedDate: String?,
    var lastUpdatedBy: String?,
    var finishDate: String?,
    var finishBy: String?,

    var localFileStatus: Boolean = false,
    var stationFullInformation: StationFullInfomation? = null,
    var isReady:Boolean = false
) {
    companion object {
        val MEASURE_STATE_PROGRESS = 1
        val MEASURE_STATE_COMPLETE = 2
        val MEASURE_STATE_WAITING = 0
        val MEASURE_STATE_FAID = 3

        val FILESTATUS_NOFILE = -1
        val FILESTATUS_WAITING = 0
        val FILESTATUS_UPLOADING = 1
        val FILESTATUS_SUCCESS = 2
        val FILESTATUS_FAILD = 3

        val CALCULATIONSTATUS_WAITING = 0
        val CALCULATIONSTATUS_CALING = 1
        val CALCULATIONSTATUS_COMPLETE = 2
        val CALCULATIONSTATUS_FAILD = 3
    }
}
